package com.dry.hw_student2.student.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author dry
 * @since 2025-04-16
 */
@Getter
@Setter
@ApiModel(value = "Teacher对象", description = "")
public class Teacher implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("教师编号")
    @TableId(value = "teacher_no", type = IdType.AUTO)
    private Integer teacherNo;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("所属系别")
    private String department;

    @ApiModelProperty("电子邮件")
    private String email;

    @ApiModelProperty("联系电话")
    private String phone;
}
